package com.meila.cms.services;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import com.meila.cms.model.CommonModel;
import com.meila.cms.model.ResetPwdModel;
import com.meila.cms.model.UserModel;

public interface ILoginService{
	//获取短信验证码
	public CommonModel getVerifyCode(final HttpServletRequest request,final String phone);
	
	//验证手机号码的唯一性
	public CommonModel uniqueVerify(CommonModel commonModel);
	
	//动态码验证
	public CommonModel dynamiccodeVerify(String dynamiccode,String phone);
	
	//保存注册
	public boolean save_register(UserModel user);
	
	//重置密码
	public CommonModel updatePass(HttpSession session,ResetPwdModel resetPwdModel);
}